import type { ApiRequest } from '@/types/apis.d'
import type { IUser } from '@/types/user'
import { request } from '../index'

export const list = (params?: ApiRequest['user.list']) => request.get<'user.list', IUser[]>('users', params)

export const list6 = (params?: ApiRequest['user.list']) => request.get<'user.list', IUser[]>('users', params)
